<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'wellcome.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="images/main.css">

  </head>
  
  <body>
    <div class="mainBox">
    	<s:if test="#session.SESSION_MANAGER_LOGIN.manPassword == 'd6a9a933c8aafc51e55ac0662b6e4d4a'">
    		你使用的是初始密码，请<a href="changePwd?option=enter">点击此处</a>修改！
    	</s:if>
    	<s:iterator value="#session.SESSION_MENUS" var="each">
    	<s:if test="#each.menuParent==null">
    	<div><a href="<s:property value="#each.menuUrl"/>" class="menus"><s:property value="#each.menuName"/></a>
    	<div></div>
    	</div>
    	<div class="menus2">
    	<s:iterator value="#session.SESSION_MENUS" var="e" begin="0">
    	<s:if test="#each.menuId==#e.menuParent.menuId">
    		<a href="<s:property value="#e.menuUrl"/>"><s:property value="#e.menuName"/></a>
    	</s:if>
    	</s:iterator>
    	</div>
    	</s:if>
    	</s:iterator>
    	
    </div>
  </body>
</html>
